#ifndef STATIONWIDHET_H
#define STATIONWIDHET_H

#include <QWidget>
#include <QScrollArea>
#include <QTimer>

class QTreeWidget;
class QToolBox;
class QTreeWidgetItem;

class StationWidget : public QScrollArea
{
    Q_OBJECT
public:
    explicit StationWidget(QScrollArea *parent = nullptr);
    ~StationWidget();

    void GenerateTree();
    void expandAll();

    QString GetCurrentXml();

signals:
    void signal_select_file(QString);

private:
    QTreeWidget *tree_station;
private:
    void clickShow(QTreeWidgetItem *item, int column);

};

#endif // STATIONWIDHET_H
